<? function makeHeader ($title, $javascripts) { ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>InteropRouter Project - <?=$title?></title>

<link href="template/style.css" rel="stylesheet" type="text/css" />

<? 

	foreach ($javascripts as $javascript) {
		?>
        <script language="javascript" type="text/javascript" src="javascript/<?=$javascript?>"></script>
        <?
	}

?>

</head>

<body>

<div id="bodypage">

	<div id="header">
    	<div id="logo"></div>
       	<div id="headerLogo"></div>
        <div id="langsMenu">
			<? include("modules/langsMenu.php"); ?>
        </div>
        <div id="topMenu">
			<? include("modules/subMenu.php"); ?>
        </div>
    </div>
    
    
	<div id="menu">
    	<div id="loginBar">
			<? include("modules/login.php"); ?>
        </div>
        <div id="mainMenu">
			<? include("modules/menu.php"); ?>
        </div>
    </div>
    
    <div id="middle">
    
<? } ?>
    
    
    
    
    
    
    
<? function makeFooter () { ?>
    
	</div>
    <div id="footer">
    	<div id="footerMenu">
			<? include("modules/subMenu.php"); ?>
        </div>
    	<div id="footerContent">
        	Interop Router
        </div>
        <div id="footerLogo"></div>
	</div>

</div>

</body>
</html>

<? } ?>

